package com.example.exception;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author 符整国
 * @version 1.0
 */

import java.io.Serializable;
@Component
public class InvalidPasswordException extends RuntimeException implements Serializable {

    private static final long serialVersionUID = 1L;

    public InvalidPasswordException() {
        this("密码错误");
    }

    public InvalidPasswordException(String message) {
        super(message);
    }
}

